package com.sh.data.engine.application.model.dto.workspace;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/12 16:26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema
public class StorageDTO extends BaseStorageDTO implements Serializable {

    @Schema(description = "存储描述")
    private String storageDesc;

    @Schema(description = "所属空间名称")
    private String projectName;

    @Schema(description = "服务器地址")
    private String server;

    @Schema(description = "数据库版本")
    private String version;

    @Schema(description = "端口号")
    private Integer port;

    @Schema(description = "数据库名")
    private String dbName;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "连接信息")
    private String connectionProperty;

    @Schema(description = "PG的schema")
    private String schema;

    @Schema(description = "Hive存储的hive-site.xml原始文件名")
    private String originalFilename;

    @Schema(description = "hive-site.xml的路径")
    private String hiveSiteAddress;
}
